package top.infopub.model.mkt;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.math.BigDecimal;
import java.util.Date;

/** 投标保证金申请(MKT_BID_BOND_APPLY) **/
public class BidBondApply extends GenericEntity  {

	private static final long serialVersionUID = 1L;
	
	/*PK*/
	private String id;
	/*PK*/
	public String getId(){
		return id;
	}
	
	public void setId(String id){
		 this.id = id;
	}

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date bidDate; //投标日期

	private String reviewMemo;//评审意见

	public String getReviewMemo() {
		return reviewMemo;
	}

	public void setReviewMemo(String reviewMemo) {
		this.reviewMemo = reviewMemo;
	}

	public Date getBidDate() {
		return bidDate;
	}

	public void setBidDate(Date bidDate) {
		this.bidDate = bidDate;
	}

	/* 支付对象单位 */
	private String accountName;
	
	public String getAccountName(){
		return accountName;
	}
	
	public void setAccountName(String accountName){
		this.accountName = accountName;
	}
	/* 银行账号 */
	private String accountNo;

	//保证金方式
	private  String bailMethod;

	public String getBailMethod() {
		return bailMethod;
	}

	public void setBailMethod(String bailMethod) {
		this.bailMethod = bailMethod;
	}

	public String getAccountNo(){
		return accountNo;
	}
	
	public void setAccountNo(String accountNo){
		this.accountNo = accountNo;
	}
	/* 添加人 */
	private String addBy;
	
	public String getAddBy(){
		return addBy;
	}
	
	public void setAddBy(String addBy){
		this.addBy = addBy;
	}
	/* 添加时间 */
	private Date addTime;
	
	public Date getAddTime(){
		return addTime;
	}
	
	public void setAddTime(Date addTime){
		this.addTime = addTime;
	}
	/* 投标截止日期 */
	private Date bidEndDate;
	
	public Date getBidEndDate(){
		return bidEndDate;
	}
	
	public void setBidEndDate(Date bidEndDate){
		this.bidEndDate = bidEndDate;
	}
	/* 投标保证金截止日 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date bondEndDate;
	
	public Date getBondEndDate(){
		return bondEndDate;
	}
	
	public void setBondEndDate(Date bondEndDate){
		this.bondEndDate = bondEndDate;
	}
	/* 投标保证金（万元） */
	private BigDecimal bondMoney;
	
	public BigDecimal getBondMoney(){
		return bondMoney;
	}
	
	public void setBondMoney(BigDecimal bondMoney){
		this.bondMoney = bondMoney;
	}
	/* 单据编号 */
	private String codes;
	
	public String getCodes(){
		return codes;
	}
	
	public void setCodes(String codes){
		this.codes = codes;
	}
	/* 申请部门ID */
	private String hrDeptId;
	
	public String getHrDeptId(){
		return hrDeptId;
	}
	
	public void setHrDeptId(String hrDeptId){
		this.hrDeptId = hrDeptId;
	}
	/* 申请公司ID */
	private String hrOrgId;
	
	public String getHrOrgId(){
		return hrOrgId;
	}
	
	public void setHrOrgId(String hrOrgId){
		this.hrOrgId = hrOrgId;
	}
	/* 申请人ID */
	private String hrStaffApplyId;
	
	public String getHrStaffApplyId(){
		return hrStaffApplyId;
	}
	
	public void setHrStaffApplyId(String hrStaffApplyId){
		this.hrStaffApplyId = hrStaffApplyId;
	}
	/* 营销经理ID */
	private String hrStaffMktId;
	
	public String getHrStaffMktId(){
		return hrStaffMktId;
	}
	
	public void setHrStaffMktId(String hrStaffMktId){
		this.hrStaffMktId = hrStaffMktId;
	}
	/* 备注 */
	private String memo;
	
	public String getMemo(){
		return memo;
	}
	
	public void setMemo(String memo){
		this.memo = memo;
	}
	/* 开户行名称 */
	private String openBankName;
	
	public String getOpenBankName(){
		return openBankName;
	}
	
	public void setOpenBankName(String openBankName){
		this.openBankName = openBankName;
	}
	/* 申请付款总额（元） */
	private BigDecimal payTotal;
	
	public BigDecimal getPayTotal(){
		return payTotal;
	}
	
	public void setPayTotal(BigDecimal payTotal){
		this.payTotal = payTotal;
	}
	/* 关联的审批流程ID */
	private String processId;
	
	public String getProcessId(){
		return processId;
	}
	
	public void setProcessId(String processId){
		this.processId = processId;
	}
	/* 当前审批状态 1=审批中 9=审批完成 10=审批终止 */
	private String processStatus;
	
	public String getProcessStatus(){
		return processStatus;
	}
	
	public void setProcessStatus(String processStatus){
		this.processStatus = processStatus;
	}
	/* 项目全局唯一编号 */
	private String proCode;
	
	public String getProCode(){
		return proCode;
	}
	
	public void setProCode(String proCode){
		this.proCode = proCode;
	}
	/* 项目名称 */
	private String proName;
	
	public String getProName(){
		return proName;
	}
	
	public void setProName(String proName){
		this.proName = proName;
	}
	/* 城市调研信息ID */
	private String sgCityId;
	
	public String getSgCityId(){
		return sgCityId;
	}
	
	public void setSgCityId(String sgCityId){
		this.sgCityId = sgCityId;
	}
	/* 报名牵头单位 */
	private String signupLead;
	
	public String getSignupLead(){
		return signupLead;
	}
	
	public void setSignupLead(String signupLead){
		this.signupLead = signupLead;
	}
	/* 申请人姓名 */
	private String staffName;
	
	public String getStaffName(){
		return staffName;
	}
	
	public void setStaffName(String staffName){
		this.staffName = staffName;
	}
	/* 总投资额（万元） */
	private BigDecimal sumAmount;
	
	public BigDecimal getSumAmount(){
		return sumAmount;
	}
	
	public void setSumAmount(BigDecimal sumAmount){
		this.sumAmount = sumAmount;
	}
	/* 建安工程总费用（万元） */
	private BigDecimal sumCae;
	
	public BigDecimal getSumCae(){
		return sumCae;
	}
	
	public void setSumCae(BigDecimal sumCae){
		this.sumCae = sumCae;
	}
	/* 最后修改人 */
	private String uptBy;
	
	public String getUptBy(){
		return uptBy;
	}
	
	public void setUptBy(String uptBy){
		this.uptBy = uptBy;
	}
	/* 最后修改时间 */
	private Date uptTime;
	
	public Date getUptTime(){
		return uptTime;
	}
	
	public void setUptTime(Date uptTime){
		this.uptTime = uptTime;
	}

	/** 当前单据状态 1=已支付   2=未支付 9=已回收 10=部分回收 */
	private String documentsState;

	/** 保证金类型，1=资格预审保证金，2=投标保证金 */
	private String bondType;

	public String getDocumentsState() {
		return documentsState;
	}

	public void setDocumentsState(String documentsState) {
		this.documentsState = documentsState;
	}

	public String getBondType() {
		return bondType;
	}

	public void setBondType(String bondType) {
		this.bondType = bondType;
	}

	/** oaId */
	private String oaId;

	public String getOaId() {
		return oaId;
	}

	public void setOaId(String oaId) {
		this.oaId = oaId;
	}
}